<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2019/2/25
 * Time: 17:29
 */

namespace app\index\validate;


use think\Validate;

class Grade extends Validate
{
    protected $rule = [
        'name'  =>  'require',
        'level' =>  'require',
        'integral' =>  'require',
    ];
    protected $message = [
        'name'  =>  '等级名称必须填写',
        'level' =>  '等级必须填写',
        'integral' =>  '经验必须填写',
    ];
}